package com.chocho.producerserver.client.hystrix;

import com.chocho.producerserver.client.ConsumeClient;
import com.chocho.producerserver.vo.Code;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import java.util.Map;

/**
 * @Auther: qiuzp
 * @Date: 19-1-5 下午6:06
 * @Description:
 */
@Component
public class ConsumeHystrix implements ConsumeClient {
    private Logger logger = LoggerFactory.getLogger(ConsumeHystrix.class);

    @Override
    public Map<String, Object> JavaCompile(Code code) {
        logger.error("调用consume-server失败!================>");
        return null;
    }
}
